﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 族群领袖:Minion
    {


        public 族群领袖():base()
        {
            buff = 3;
            Star = 3;
            Attack = 3;
            Health = 3;
            //race就不提了等暴雪自己反应过来
        }


        public override void OnSpawn(Minion m)
        {
            if(pool.board.Debug)
                Console.WriteLine("触发了族群领袖特效,{0}获得＋３攻击力。", m.Name);
            if ((m.Race == race.beast || m.Race == race.all))
                m.Attack += buff;
        }


        public override Minion NewOne()
        {
            return new 族群领袖();
        }
    }


    class 族群领袖_金色 : 族群领袖
    {
        public 族群领袖_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }

        public override Minion NewOne()
        {
            return new 族群领袖_金色();
        }
    }
}
